﻿@model IEnumerable<Leikjavefurinn.Context.GameStatus>

<div id="activeGames">
    <table class="table">
        <tr>
            <th>Leikjanafn
            </th>
            <th>Virkur
            </th>
            <th>Biðstöðu
            </th>
            <th></th>
        </tr>

        @foreach (var item in Model)
        {
            <tr>

                <td>
                    @Html.DisplayFor(modelItem => item.GameName)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.IsActive)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.IsWaiting)
                </td>
            </tr>
        }

    </table>
</div>
